<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition 
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui" 
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../Templates/templateLeftMenu.xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    
<!--    template="Templates/templateLeft.xhtml"-->
    <ui:define name="content">

        <center>
            <h:form id="formCita">
                <p:panel header="Programar cita">
                    <h:panelGrid columns="1" cellpadding="10" >



                        <p:fieldset legend="Cita">
                            <h:panelGrid columns="2" cellpadding="10">

                                <h:outputText value="Tipo: "  /> 
                                <p:selectOneMenu value="#{citaBean.cita}">
                                    <f:selectItem itemLabel="Seleccionar tipo" itemValue="" />
                                </p:selectOneMenu>

                                <h:outputText value="Fecha: "/>
                                <p:calendar />

                                <h:outputText value="Descripcion de cita:" />
                                <p:inputTextarea style="width: 90%" />

                                <h:outputText value="Precondiciones:" />
                                <p:inputTextarea style="width: 90%" />

                            </h:panelGrid>
                        </p:fieldset>

                        <p:commandButton  value="Programar"/>
                    </h:panelGrid>
                </p:panel>
            </h:form>
        </center>
    </ui:define>
</ui:composition>
